﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QLKDS.DTO
{
    public class BookInfo
    {
        public int Id { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public byte Status { get; set; }
        public float Price { get; set; }
        public float DiscountRetail { get; set; }
        public float DiscountWholesale { get; set; }
        public string Publisher { get; set; }
        public string Description { get; set; }
        public string CreatedBy { get; set; }
        public DateTime CreatedDate { get; set; }
        public string ModifiedBy { get; set; }
        public DateTime ModifiedDate { get; set; }

        public BookInfo()
        {
            this.Id = 0;
            this.Code = null;
            this.Name = null;
            this.Status = 1;
            this.Price = 0;
            this.DiscountRetail = 0;
            this.DiscountWholesale = 0;
            this.Description = null;
            this.Publisher = null;
            this.CreatedBy = null;
            this.CreatedDate = DateTime.Now;
            this.ModifiedBy = null;
            this.ModifiedDate = this.CreatedDate;
        }
    }
}
